import java.util.Arrays;
import java.util.Random;

public class Job03 {
    public static void main(String[] args) {
        int[][] XL = {{22,66,44},{77,33,88},{25,45,65},{11,66,99}};
        int[] Totel01 = new int[XL.length];
        int Totel02 = 0;
        for (int i = 0; i < XL.length; i++) {
            System.out.print("第" +(i+1)+ "季度:");
            for (int j = 0; j < XL[i].length; j++) {
                Totel01[i] += XL[i][j];
            }
            System.out.println("第" +(i+1)+ "季度总额度:" +Totel01[i]+ "万元");
            Totel02 += Totel01[i];
        }
        System.out.println("总额度:" +Totel02);
    }
}
